﻿using Aierp.Utility;
using Aierp.Utility.Data;
using Chloe.Entity;

namespace Aierp.SystemEntities.System
{
    [TableName("Sys_DicCategory")]
    public class Sys_DicCategory
    {
        [Column(IsPrimaryKey = true)]
        [AutoIncrement]
        public int KeyId { get; set; }

        public string Title { get; set; }

        public string Code { get; set; }

        public int Sortnum { get; set; }

        public string Remark { get; set; }

        /// <summary>
        /// 是否只读属性
        /// </summary>
        public string Attrib { get; set; }

        public override string ToString()
        {
            return JSONhelper.ToJson(this);
        }

    }
}
